<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <title>Responsive Image</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>

<img src="img/Star.png" alt="star"
     srcset="img/Star.png 345w, img/Star@2x.png 690w, img/Star@3x.png 1035w">

<picture>
    <source srcset="img/Star@3x.png" media="(min-width: 1000px)">
    <source srcset="img/Star@2x.png" media="(min-width: 500px)">
    <img srcset="img/Star.png" alt="star">
</picture>

</body>
</html>
